package com.jsyl.lwbk.business.service.education;

import com.jsyl.lwbk.business.dto.ChildCourseScoreDTO;
import com.jsyl.lwbk.business.dto.education.TrainingReportDTO;
import com.jsyl.lwbk.business.domain.education.TrainingProgramChildRecord;
import com.jsyl.lwbk.business.dto.ChildMonthResultDTO;
import com.jsyl.lwbk.business.dto.education.TrainingProgramChildRecordListDTO;

import java.util.List;

/**
 * @author jh
 * @date 2020-11-02 16:18
 * @desc
 **/
public interface ITrainingProgramChildRecordService {


    List<TrainingProgramChildRecord> list(TrainingProgramChildRecordListDTO trainingProgramChildRecordListDTO);

    String getLastTrainingTime(TrainingProgramChildRecordListDTO trainingProgramChildRecordListDTO);

    void saveEntering(List<TrainingProgramChildRecord> records,Long curUserId,String curUserName);

    TrainingReportDTO findTrainingReport(TrainingProgramChildRecordListDTO trainingProgramChildRecordListDTO);

    /**
     * 获取课程报告（小程序接口）
     * @param id
     * @return
     */
    ChildCourseScoreDTO getChildCourseScoreReport(Long id);

    /**
     * 获取月小结（小程序接口）
     * @param id
     * @return
     */
    ChildMonthResultDTO getChildCourseMonthScoreReport(Long id);

}
